#include <iostream>
using namespace std;
#include <iomanip>
using std::setw;
#include <cmath>

int main()
{
	double a[3];
	double deta;
	for (int i=0;i<3;i++)
	{
		cin >> a[i];
	}
	deta=a[1]*a[1]-4*a[0]*a[2];
	if (deta>0)
	{
		double root[2];
		root[0]=(-a[1]-sqrt(deta))/2/a[0];
		root[1]=(-a[1]+sqrt(deta))/2/a[0];
		cout << root[0] << "  " << root[1] << "\n"; 
		return 0;
	} 
	if (deta==0)
	{
		double root;
		root=(-a[1]-sqrt(deta))/2/a[0];
		cout << "double roots are " << root << "\n"; 
		return 0;
	} 
	if (deta<0)
	{
		cout <<" no real root"<< "\n"; 
		return 0;
	} 
}
